from PyQt5 import QtWidgets, QtCore
from Control import Controller

from concurrent.futures import ThreadPoolExecutor

if __name__ == "__main__":
    import sys
    pool = ThreadPoolExecutor(max_workers=5)
    app = QtWidgets.QApplication(sys.argv)
    a = Controller(socket_mode='server', thread_pool=pool)
    # a.show()
    sys.exit(app.exec_())
